package cn.kai.service;

import cn.kai.json.flow.FlowJson;
import cn.kai.process.flow.core.FlowChain;

import java.util.Map;

/**
 Author: chenKai
 Date: 2025/1/23
 */
public interface FlowService {
    Object registerFlow(FlowJson flowJson);

    Map<String, FlowChain> getFlow();

    Object execute(String name);
}
